package org.spring.learn.project.entity;

public class Car {

    public Car() {
        System.out.println("调用Car构造方法");
    }

    public void addOil() {
        System.out.println("行驶前加油");
    }

    public void run() {
        System.out.println("正在飙车");
    }

    public void close() {
        System.out.println("正在熄火");
    }
}
